﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SDeformityT.aspx.cs" Inherits="MaluJg.web.Poverty.SDeformityT" %>

<%@ Register Src="~/Stats/yearselect.ascx" TagName="yearselect" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/CSS/css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../Scripts/jquery.js"></script>
<script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>

    <script type="text/javascript" src="../Scripts/common.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr class="TitleBar">
                <td class="MainTitle">
                    <%=Year %>
                    年
                    <asp:Literal runat="server" ID="ltlHeader"></asp:Literal>
                </td>
            </tr>
        </table>
        <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
            <tr class="ToolBar">
                <td align="left" width="200">
                    &nbsp;&nbsp; 年份：
                    <input type="text" class="WSCL_Input" readonly="readonly" id="iYear" name="iYear"
                        value="<%=Year %>" onclick="WdatePicker({dateFmt:'yyyy',onpicked:pickedFunc})" />
                </td>
                <td width="400" align="left" class="SubCateClass">
                    <a href="#" id='a0' onclick="directmonth('0')">全年</a><a href="#" id='a1' onclick="directmonth('1')">1月</a><a
                        href="#" id='a2' onclick="directmonth('2')"> 2月</a> <a href="#" id='a3' onclick="directmonth('3')">
                            3月</a> <a href="#" id='a4' onclick="directmonth('4')">4月</a><a href="#" id='a5' onclick="directmonth('5')">5月</a><a
                                href="#" id='a6' onclick="directmonth('6')"> 6月</a> <a href="#" id='a7' onclick="directmonth('7')">
                                    7月</a> <a href="#" id='a8' onclick="directmonth('8')">8月</a><a href="#" id='a9' onclick="directmonth('9')">9月</a><a
                                        href="#" id='a10' onclick="directmonth('10')">10月</a> <a href="#" id='a11' onclick="directmonth('11')">
                                            11月</a><a href="#" id='a12' onclick="directmonth('12')">12月</a>
                </td>
                <td align="left" width="40">
                    类型：
                </td>
                <td align="left">
                    <select id="sType" name="sType">
                        <option selected="selected" value="SLiveT">城镇低保</option>
                        <option value="SLiveV">农村低保</option>
                        <option value="SSick">大病扶持</option>
                        <option value="SStudy">助学救助</option>
                        <option value="SDeformityT">城镇重残无业</option>
                        <option value="SDeformityV">农村重残无业</option>
                        <option value="SOthers">其他救助 </option>
                    </select>
                </td>
                <td class="ToolMenu" align="right">
                    <div class="Normal" oldclass="Normal" style="width: 70px" onmouseover="OverChangeClass(this);"
                        onmouseout="ReturnClass(this)">
                        <a href="javascript:parent.goBack();"><span>
                            <img src="../Images/feedback.gif" alt="返回" /></span><span>返回</span></a>
                    </div>
                </td>
            </tr>
        </table>
        <div id="divWhole" runat="server">
            <table class="MainInfolist" align="center" cellspacing="0" cellpadding="0" width="100%"
                border="0">
                <tbody>
                    <tr class="PageGridHeader">
                        <td width="5%" align="center">
                            序号
                        </td>
                        <td align="center" width="10%">
                            所属村
                        </td>
                        <td width="15%" align="center">
                            区级救助
                        </td>
                        <td width="10%" align="center">
                            镇级救助
                        </td>
                        <td width="15%" align="center">
                            <%=Month %>月份生活补贴
                        </td>
                        <td width="15%" align="center">
                            合计救助金额
                        </td>
                        <td width="10%" align="center">
                            人数
                        </td>
                    </tr>
                    <asp:Repeater runat="server" ID="rpWhole">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Container.ItemIndex + 1 %>
                                </td>
                                <td>
                                    <a href="SDeformityT.aspx?year=<%=Year %>&v=<%# HttpUtility.UrlEncode( Eval("BelongTo").ToString()) %>&month=<%=Month %>">
                                        <%#Eval("BelongTo")%></a>
                                </td>
                                <td>
                                    <%#Eval("District")%>
                                </td>
                                <td>
                                    <%#Eval("Town")%>
                                </td>
                                <td>
                                    <%#Eval("MonthMoney")%>
                                </td>
                                <td>
                                    <%#Eval("Heji")%>
                                </td>
                                <td>
                                    <%#Eval("PeopleCount")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="2">
                            合计
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum1"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum2"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum3"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum4"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum5"></asp:Literal>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="divSingle" runat="server">
            <table class="MainInfolist" align="center" cellspacing="0" cellpadding="0" width="100%"
                border="0">
                <tbody>
                    <tr  class="PageGridHeader">
                        <td width="5%" align="center">
                            序号
                        </td>
                        <td align="center" width="7%" >
                            姓名
                        </td>
                        <td width="6%" align="center">
                            性别
                        </td>
                        <td width="13%" align="center">
                            家庭住址
                        </td>
                        <td width="7%" align="center">
                            区级救助
                        </td>
                        <td width="7%" align="center">
                            镇级救助
                        </td>
                        <td width="9%" align="center">
                            <%=Month %>月份生活补贴
                        </td>
                        <td width="7%" align="center">
                            合计救助金额
                        </td>
                        <td width="10%" align="center">
                            储蓄卡账号
                        </td>
                        <td width="6%" align="center">
                            人数
                        </td>
                        <td width="6%" align="center">
                            备注
                        </td>
                    </tr>
                    <asp:Repeater runat="server" ID="rpSingle">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%# Container.ItemIndex + 1 %>
                                </td>
                                <td>
                                    <%#Eval("Name")%>
                                </td>
                                <td>
                                    <%#Eval("Gender")%>
                                </td>
                                <td>
                                    <%#Eval("Address")%>
                                </td>
                                <td>
                                    <%#Eval("District")%>
                                </td>
                                <td>
                                    <%#Eval("Town")%>
                                </td>
                                <td>
                                    <%#Eval("MonthMoney")%>
                                </td>
                                <td>
                                    <%#Eval("Heji")%>
                                </td>
                                <td>
                                    <%#Eval("Account")%>
                                </td>
                                <td>
                                    <%#Eval("PeopleCount")%>
                                </td>
                                <td>
                                    <%#Eval("Remark")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr>
                        <td colspan="4">
                            合计
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum7"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum8"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum9"></asp:Literal>
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum10"></asp:Literal>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Literal runat="server" ID="sum11"></asp:Literal>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <script type="text/javascript">
        $("#a<%=Year %>").css("color", "red").css("font-weight", "bold");
        $("#a<%=Month %>").css("color", "red").css("font-weight", "bold");
    </script>

    </form>
</body>
</html>
